package homework_03;

import java.util.Scanner;

/**
 * 三个整数x,y,z，请把这三个数由小到大输出。
 */
public class Home_10 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int x=input.nextInt();
        int y=input.nextInt();
        int z=input.nextInt();
        int a=0;
        if(x>y){
            a=x;
            x=y;
            y=a;

        }
        if(x>z){
            a=x;
            x=z;
            z=a;
        }
        if(y>z){
            a=y;
            y=z;
            z=a;
        }
        System.out.println(x+" "+y+" "+z);
    }
}
